<%@ page language="java" import="java.util.*" pageEncoding="Utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>添加</title>
<link rel="stylesheet" href="${pageContext.request.contextPath}/common/style/base.css" type="text/css" media="screen" />
<link rel="stylesheet" href="${pageContext.request.contextPath}/common/style/page.css" type="text/css" media="screen" />
<script src="${pageContext.request.contextPath}/common/js/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/common/js/common.js" type="text/javascript"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/common/js/formvalidator.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/common/js/formvalidatorregex.js"></script>
<script type="text/javascript">
	$(function(){
		$.formValidator.initConfig({formid:"form",autotip:true});
		$("#name").formValidator({onshow:"请输入名称",onfocus:"名称不能为空。"}).inputValidator({min:1,max:30,onerror:"名称不能为空。"});
		});

</script>
<script type="text/javascript">
$(function(){
	//高度自适应
	initLayout1();   
	$(window).resize(function(){   
		initLayout1();   
	});
	function initLayout1() {   
		var mfh = document.documentElement.clientHeight;
		$('#main_frame').height(mfh-46); 
		
		var mfw = document.documentElement.clientWidth;
		$('#main_frame').width(mfw); 		
		$('#bottombar').width(mfw-30); 		

		var ltw = $('#pagemenu').width();
		$('.addtab').width(ltw);
	};
});

</script>
</head>
<body>
<div class="pd10">	
	<div class="listbox">
		<form id="form" action="add.action" method="post">
			<div>
				<table class="addtab"  align="left">
					<tr>
						<th>书本类型</th>
						<td><input type="text" class="tx6" title="请输入名称" name="bType.name" id="name"/></td>
					</tr>
					
				</table>
			</div>
			<div class="hidden"><input id="addsubmit" type="submit"/></div>
		</form>
	</div>
</div>
</body>
</html>